using System;
using System.Collections.Generic;
using System.Text;

namespace Web.Core.Objects
{
    public class Log
    {
        int _logID, _memberID;                
        string _ip, _computerName, _time, _url, _action;

        #region Public Fields
        public int LogID
        {
            get { return _logID; }
            set { _logID = value; }
        }

        public int MemberID
        {
            get { return _memberID; }
            set { _memberID = value; }
        }

        public string IP
        {
            get { return _ip; }
            set { _ip = value; }
        }

        public string ComputerName
        {
            get { return _computerName; }
            set { _computerName = value; }
        }

        public string Time
        {
            get { return _time; }
            set { _time = value; }
        }

        public string URL
        {
            get { return _url; }
            set { _url = value; }
        }

        public string Action
        {
            get { return _action; }
            set { _action = value; }
        }
        #endregion

        public Log() { }

        public Log(int logID, int memID, string ip, string compName, string time, string url, string action)
        {
            LogID = logID;
            MemberID = memID;
            IP = ip;
            ComputerName = compName;
            Time = time;
            URL = url;
            Action = action;
        }
    }
}
